package net.mfjassociates.finance.domain.mfjfin_newdb;

import java.util.Set;
import javax.persistence.Column;
import javax.persistence.OneToMany;
import org.springframework.roo.addon.dbre.RooDbManaged;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(entityName="net.mfjassociates.finance.domain.mfjfin_newdb.ExpenseCategories", versionField = "", table = "ExpenseCategories", schema = "dbo")
public class ExpenseCategories {

	@OneToMany(mappedBy = "expenseCategoryId")
    private Set<ExpenseDetails> expenseDetailss;

	@Column(name = "ExpenseCategory", length = 50)
    private String expenseCategory;

	@Column(name = "ExpenseCategoryAccount")
    private Integer expenseCategoryAccount;

	public Set<ExpenseDetails> getExpenseDetailss() {
        return expenseDetailss;
    }

	public void setExpenseDetailss(Set<ExpenseDetails> expenseDetailss) {
        this.expenseDetailss = expenseDetailss;
    }

	public String getExpenseCategory() {
        return expenseCategory;
    }

	public void setExpenseCategory(String expenseCategory) {
        this.expenseCategory = expenseCategory;
    }

	public Integer getExpenseCategoryAccount() {
        return expenseCategoryAccount;
    }

	public void setExpenseCategoryAccount(Integer expenseCategoryAccount) {
        this.expenseCategoryAccount = expenseCategoryAccount;
    }
}
